package com.yang.repository;

import com.yang.entity.DigitalHuman;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface DigitalHumanRepository
        extends JpaRepository<DigitalHuman, Long>, JpaSpecificationExecutor<DigitalHuman> {
    Optional<DigitalHuman> findByTaskId(String taskId);
}
